/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package doan.quanlycanbo.portlet.model;

import com.liferay.portal.kernel.annotation.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the sachxuatban service. Represents a row in the &quot;sachxuatban&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link doan.quanlycanbo.portlet.model.impl.sachxuatbanModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link doan.quanlycanbo.portlet.model.impl.sachxuatbanImpl}.
 * </p>
 *
 * <p>
 * Never modify or reference this interface directly. All methods that expect a sachxuatban model instance should use the {@link sachxuatban} interface instead.
 * </p>
 *
 * @author Nguyen Tuan Vinh
 * @see sachxuatban
 * @see doan.quanlycanbo.portlet.model.impl.sachxuatbanImpl
 * @see doan.quanlycanbo.portlet.model.impl.sachxuatbanModelImpl
 * @generated
 */
public interface sachxuatbanModel extends BaseModel<sachxuatban> {
	/**
	 * Gets the primary key of this sachxuatban.
	 *
	 * @return the primary key of this sachxuatban
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this sachxuatban
	 *
	 * @param pk the primary key of this sachxuatban
	 */
	public void setPrimaryKey(long pk);

	/**
	 * Gets the masxb of this sachxuatban.
	 *
	 * @return the masxb of this sachxuatban
	 */
	public long getMasxb();

	/**
	 * Sets the masxb of this sachxuatban.
	 *
	 * @param masxb the masxb of this sachxuatban
	 */
	public void setMasxb(long masxb);

	/**
	 * Gets the group id of this sachxuatban.
	 *
	 * @return the group id of this sachxuatban
	 */
	public long getGroupId();

	/**
	 * Sets the group id of this sachxuatban.
	 *
	 * @param groupId the group id of this sachxuatban
	 */
	public void setGroupId(long groupId);

	/**
	 * Gets the company id of this sachxuatban.
	 *
	 * @return the company id of this sachxuatban
	 */
	public long getCompanyId();

	/**
	 * Sets the company id of this sachxuatban.
	 *
	 * @param companyId the company id of this sachxuatban
	 */
	public void setCompanyId(long companyId);

	/**
	 * Gets the language id of this sachxuatban.
	 *
	 * @return the language id of this sachxuatban
	 */
	@AutoEscape
	public String getLanguageId();

	/**
	 * Sets the language id of this sachxuatban.
	 *
	 * @param languageId the language id of this sachxuatban
	 */
	public void setLanguageId(String languageId);

	/**
	 * Gets the mahoso of this sachxuatban.
	 *
	 * @return the mahoso of this sachxuatban
	 */
	public long getMahoso();

	/**
	 * Sets the mahoso of this sachxuatban.
	 *
	 * @param mahoso the mahoso of this sachxuatban
	 */
	public void setMahoso(long mahoso);

	/**
	 * Gets the tensach of this sachxuatban.
	 *
	 * @return the tensach of this sachxuatban
	 */
	@AutoEscape
	public String getTensach();

	/**
	 * Sets the tensach of this sachxuatban.
	 *
	 * @param tensach the tensach of this sachxuatban
	 */
	public void setTensach(String tensach);

	/**
	 * Gets the namxb of this sachxuatban.
	 *
	 * @return the namxb of this sachxuatban
	 */
	public int getNamxb();

	/**
	 * Sets the namxb of this sachxuatban.
	 *
	 * @param namxb the namxb of this sachxuatban
	 */
	public void setNamxb(int namxb);

	/**
	 * Gets a copy of this sachxuatban as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
	 *
	 * @return the escaped model instance
	 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
	 */
	public sachxuatban toEscapedModel();

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public void setEscapedModel(boolean escapedModel);

	public Serializable getPrimaryKeyObj();

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(sachxuatban sachxuatban);

	public int hashCode();

	public String toString();

	public String toXmlString();
}